package com.it.commicity.mapper.zy;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.it.commicity.domain.po.ZyRoom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it.commicity.domain.requestPass.Room;
import com.it.commicity.domain.vo.RoomVo;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 房间  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-07-11
 */

public interface ZyRoomMapper extends BaseMapper<ZyRoom> {

    Page<RoomVo> getRoomPage(@Param("page") Page<RoomVo> page, @Param("room") Room room);

    List<RoomVo> selectListByCommunityId(Long communityId);

    List<RoomVo> selectListByListRoomId(ArrayList<Long> roomIds);
}
